Working of a Payment System
Understand the working of the payment ecosystem and the role of the payment gateway within it.
We'll cover the following
In today's era, fintech advancement has paved the way for digital marketing and e-commerce businesses. It has brought together and enhanced the trust between merchants and customers, where the customer buys goods and pays the merchants in just a few clicks. Contemporary entities in the payment processing cycle are radically changing the customer experience and making it possible for merchants to run their operations with a great deal of simplicity, unlike in the past when it was just about facilitating the transfer of funds.
In this lesson, we will describe the digital payment system and explain how a payment gateway has made the payment process easier in the modern world.
The payment process#
Online payment takes a few seconds. A customer simply has to enter their credit card details to pay online for the goods or services they want to buy. However, this is a very complex process that entails multiple steps and interacting entities—for example, cardholder verification, payment processing and validation, merchants registration, and so on.
The following figure illustrates the flow of a payment processing system:
The role of entities involved in the payment processing system is mentioned in the following table:
Entities Details
Entities | Description |
Customer |
|
Merchant |
|
Issuer bank |
|
Acquiring bank |
|
Merchant's online store |
|
Stripe |
|
Cards network |
|
Note: Sometimes, another entity that sets between the issuer bank and cards network is involved, known as the issuer processor. The issuer processor facilitates the authorization, clearing, and settlement of a payment transaction on behalf of the issuing bank. However, many issuer banks have their own (in-house) issuer processors to have more control over the entire process, which often results in cost savings.
A payment gateway facilitates the secure handling and processing of online transactions between merchants and customers. It acts as an intermediary between the two, authorizing and settling payments through different methods such as bank transfers, digital wallets, and credit and debit cards.
A payment gateway like Stripe enables businesses of all sizes to process payments online without worrying about fraudulent activities, security compliance, verification of cardholder information, and streamlining payment processes to enhance customer experience and the reliability of transactions.
Point to Ponder
Question
Why are multiple entities involved in the payment ecosystem?
Multiple entities are involved in the payment ecosystem because each entity has a different and unique role. For example, the issuer bank issues credit cards, the merchant is responsible for providing goods or services, and the payment gateway is responsible for securely transferring funds. Each entity is necessary for the payment process to be successful.
Let's take a closer look and explain the overall process of transferring funds that takes place behind the scenes.
The flow of payment processing takes place in the following steps:
The authorization phase
The settlement phase
The authorization phase#
Initially, we assume that the customer has an account in the issuer bank and the merchant has an account in the acquirer bank. The merchant also has a virtual account with Stripe, where all the transactions are stored in its databases. Now let’s discuss the steps involved in the authorization process:
The customers select the goods or services they want to purchase online, go to the checkout page, and enter their credit card information. Here, a transaction is created, including information about the customer, their credit card, the goods or services purchased, and so on.
The transaction information is provided to Stripe for further processing. Stripe stores the transaction details to facilitate funds transfer in the later phase.
Stripe routes the credit/debit card details and transaction information to the cards network.
The cards network performs the credit card’s authentication and passes the transaction information to the issuer bank to check the validity of the customer’s account information.
The issuer bank checks the status of the customer’s account and the availability of funds. Upon confirmation of their availability, it places a hold on the required funds.
The issuer bank responds with a successful authorization code to the cards network, which is passed to Stripe.
Stripe sends the authorization code to the acquiring bank.
The acquiring bank provides the approval to the merchant’s terminal, which in turn may provide the receipt to the customer.
Meanwhile, Stripe updates the transaction information in its database based on the authorization codes provided by the issuer bank via cards network.
Points to Ponder
Question 2
How does the cards network verify the data from the issuer bank if the credit card data from Stripe is in the form of a token?
The cards network uses the token provided by Stripe to request the original credit card data from Stripe’s servers via a secure connection. Since Stripe securely stores the original credit card data on its server, it verifies the token and returns the corresponding credit card data to the cards network upon request. Note that credit card data is encrypted during the transmission.
2 of 2
The authorization phase is explained in the following set of illustrations:
1 of 9
2 of 9
3 of 9
4 of 9
5 of 9
6 of 9
7 of 9
8 of 9
9 of 9
Note: Every organization that processes, stores, or transfers credit card information should be PCI compliant. According to the PCI Security Standards Council, such organizations should use the secure file transfer protocol (STFP) to transmit sensitive data.
The settlement phase#
In the authorization phase, the credit or debit card information is validated. Moreover, the customer’s account is checked for the available amount, and the funds for the purchase are locked. In the settlement phase, the amount of all the successful transactions is transferred to the merchant’s account in the acquirer’s bank or to the virtual account in Stripe. This phase involves the following steps:
At the end of the day, Stripe collects all the transactions and corresponding authorization codes from the database and transfers them to the acquiring bank. The purpose is to withdraw the respective amount from the issuer’s bank.
The acquiring bank sends all data to the cards network to validate each transaction and its corresponding authorization codes.
The cards network routes all transaction information to the issuer bank for verification.
The issuer bank transfers the funds to the merchant account in Stripe after successful verification. The verification is performed against each authorization code provided in the authorization phase.
The issuer bank provides a bill to the customer or the cardholder for every successful transaction.
The merchant can later transfer the funds from the Stripe account to their bank account in the acquiring bank.
The activities mentioned above can take a few days to process for different reasons, such as ensuring fraud prevention, running bank processes, resolving disputes (if any), and so on. The flow of the settlement phase is depicted in the following illustration:
1 of 6
2 of 6
3 of 6
4 of 6